<?php

define('IN_DOUCO', true);
// 强制在移动端中显示PC版
/*
if (isset($_REQUEST['mobile'])) {
    setcookie('client', 'pc');
    if (isset($_COOKIE['client']) && $_COOKIE['client'] != 'pc') $_COOKIE['client'] = 'pc';
}
require (dirname(__FILE__) . '/include/init.php');
*/
session_start();

define('ROOT_PATH', __DIR__.'/../');
define('TPL_DIR', __DIR__.'/tpl/');
define('CTL_DIR', __DIR__.'/ctl/');

$cdn_url = 'tpl/';


$c    = empty($_REQUEST['c']) ? 'index' : $_REQUEST['c'];
$a    = empty($_REQUEST['a']) ? 'index' : $_REQUEST['a'];
$tpl  = empty($_REQUEST['t']) ? 'index' : trim($_REQUEST['t']);
$page = empty($_REQUEST['p']) ? '1' : trim($_REQUEST['p']);


if(file_exists(TPL_DIR.$tpl.'.html')) include_once TPL_DIR.$tpl.'.html';

?>